
import React from 'react'
import styles from './index.css'
import Input from '../Input'


class Panel extends React.Component{
    constructor(props){
        super(props)
        this.state={value:''}
    }
    componentDidMount(){

    }
    render(){
        const ele = (<div className="wan">
            <div className="item">
                <div className="item1">宽带账号</div>
                <div className="item4">
                    <input type="text" placeholder="请输入宽带账号"/>
                </div>
            </div>
            <div className="item">
                <div className="item1">宽带密码</div>
                <div className="item4">
                    <input type="text" placeholder="请输入宽带密码"/>
                </div>
            </div>
            <div>
                <div className="button">保存</div>
            </div>
            <Input labelText="用户名" onChange={(event)=>console.log(event.target.value)}/>
        </div>)

        return ele
    }
}
export default Panel